import 'package:super_player/super_player.dart';

class TencentPlayUtils {
  String licenceKey = "d21f7c6d33cb276f39ba55cbc696e522";
  String licenceURL =
      "https://license.vod2.myqcloud.com/license/v2/1302785583_1/v_cube.license";

  TencentPlayUtils._();

  static final TencentPlayUtils _instance = TencentPlayUtils._();

  static TencentPlayUtils get instance => _instance;

  factory TencentPlayUtils() => _instance;

  void init() {
    SuperPlayerPlugin.setGlobalLicense(licenceURL, licenceKey);
    print("初始化 TencentPlayUtils");
  }
}
